html, body, #main { height: 96%; }

#title {
  font-size: x-large;
  background-color: #b0c4de;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 15px;
  height: 30px;
}

.left {
  float: left;
  margin-right: 10px;
  height: 100%;
}

.top {
  height: 100%;
}

.right {
  float: right;
}

button, input, select {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  height: 28px;
  vertical-align:middle;
}

input.ng-invalid {
	border-color: red;
}

th {
  background-color: #ba7;
}

#menu {
  width: 210px;
  height: 90%;
  background-color: #bcd;
  padding: 20px;
  padding-right: 0px;
  float: left;
  border-radius: 15px;
}

#content {
  height: 90%;
  /*background-color: #d0c49e;*/
  padding: 20px;
  margin-left: 240px;
  border-radius: 15px;
}

#content-frame {
  background-color: transparent;
  border: 0px none transparent;
  padding: 0px;
  width: 100%;
  height: 100%;
  scrolling: 'auto';
}

.menu_item {
  width: 195px;
  height: 20px;
  padding: 5px;
  margin: 5px;
  position: relative; /* for z-index */
  z-index: 100;
  cursor: pointer;  
}

.menu_item:hover {
  background-color: #a0b4ce;
  border-radius: 5px;
 }

#menu_selector {
  background-color: #90a0b6;
  position: absolute;
  z-index: 50;
  border-radius: 5px;
  -webkit-transition-property: top;
  -webkit-transition-duration: 0.2s;
  -webkit-transition-timing-function: ease;
  -webkit-transition-delay: 0s;
  -moz-transition-property: top;
  -moz-transition-duration: 0.2s;
  -moz-transition-timing-function: ease;
  -moz-transition-delay: 0s;
  -o-transition-property: top;
  -o-transition-duration: 0.2s;
  -o-transition-timing-function: ease;
  -o-transition-delay: 0s;
  -ms-transition-property: top;
  -ms-transition-duration: 0.2s;
  -ms-transition-timing-function: ease;
  -ms-transition-delay: 0s;
  transition-property: top;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.hover:hover {
  background-color: #ccc;
}
.modified {
  background-color: #ee4;
}
.deleted {
  background-color: #f88;
}
.modified-hover:hover {
  background-color: #bb0;
}
.red-hover:hover {
  background-color: #d33;
}

form p {
  padding: 0px;
  margin: 2px;
}
.container {
  width: 500px;
}
.mb {
  margin-bottom: 10px;
  overflow: auto;
  width: 100%
}
#new-lang-link {
  margin-bottom: 10px;
}
.langdiv {
  display: none;
}
.msg-red {
  background-color: #f33;
  border-radius: 5px;
  height: 50px;
  padding: 5px;
  margin-bottom: 20px;
}
.msg-green {
  background-color: #5a5;
  border-radius: 5px;
  height: 50px;
  padding: 5px;
  margin-bottom: 20px;
}
.title {
  font-size: x-large;
  border-radius: 5px;
  padding: 5px;
  background-color: #ba7;
  margin-bottom: 10px;
}
.subtitle {
  font-size: large;
  border-radius: 5px;
  padding: 5px;
  background-color: #ede9de;
  margin-bottom: 10px;
  margin-top: 20px;
}
table {
  border-collapse: collapse;
  border: 1px solid black;
  margin-bottom: 10px;
}
th, td {
  border: 1px solid black;
  padding: 5px;
}

/* Popup like screens */
/* A layer for popup like screens */
.popup-screen {
  background-color:rgba(0,0,0,0.7);
  top: 0px;
  left: 0px;
  height: 100%;
  position: fixed;
  width: 100%;
  display: none;
  z-index: 100;
}

.popup-screen div {
  background-color: white;
  top: 20%;
  display: table;
  margin: 0 auto;
  padding: 10px;
  position: relative;
  width: 50%;
  text-align: left;
  border-bottom: 2px solid black;
}

.popup-head {
  font-size: 1.5em;
  font-weight: bold; 
}

.thumbnail-container {
  position: relative;
  display: inline-block;
  margin: 3px;
  background-color: #000000;
}

.image-overlay-container {
  display: block;
  position: absolute;
  bottom: 10px;
  right: 5px;
}
.image-overlay {
  display: inline-block;
  position: relative;
  opacity: 0.8;
  height: 20px;
  padding: 3px 5px 0 5px;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
}
.bg-green {
  background: #00A000;
}
.bg-red {
  background: #FF0000;
}

.event {
  background-color: #ba7;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
}

.overflow {
	overflow: auto;
}
.event h2 {
	margin: 0px;
}

.event p {
  margin: 0px;
}

.event hr {
  border: 1px solid #653;
}

section {
	height: 100%;
}
textarea {
	height: 100%;
}
